home *** CD-ROM | disk | FTP | other *** search
/ Network Supervisor's Toolkit / Network Supervisor's Toolkit.iso / tools / lu62 / port / bind.h < prev    next >
Text File  |  1996-07-10  |  3KB  |  53 lines

  1. /* k 1003 22/08/90             */
  2. /* k 2000 1.11.90              */
  3. /* k 1020 14/01/91             */   /* PLU/SLU node,lu */
  4. /* k 0115    02/01/91    */
  5. /********************************************************
  6.  *            BIND REQUEST UNIT                         *
  7.  ********************************************************/
  8.  
  9. struct  bind {                 /* BIND ru                       */
  10.      unsigned char cmd;       /* command code  @0115        */
  11.       union {
  12.         struct {
  13.          char image[25];       /* image BIND from CINIT         */
  14.                }im;
  15.         struct {
  16.      unsigned char type;      /* 0 - negotiable, @0115      *
  17.                                 * 1 - nonnegotiable             */
  18.      unsigned char tsprof;    /* TS profile   @0115         */
  19.      unsigned char fmprof;    /* FM profile   @0115         */
  20.      unsigned char priprot;   /* FM usage PLU protocols @0115*/
  21.      unsigned char secprot;   /* FM usage SLU protocols @0115*/
  22.      unsigned char comprot;  /* FM usage common protocols @0115*/
  23.      unsigned char comprot2; /* FM usage common - 2nd byte @0115 */
  24.      unsigned char sspac;  /* SLU send pacing count    (TS)@0115 */
  25.      unsigned char srpac;  /* SLU receive pacing count (TS)@0115 */
  26.      unsigned char smaxru; /* SLU maximum send RU size (TS)@0115 */
  27.      unsigned char pmaxru; /* PLU maximum send RU size (TS)@0115 */
  28.      unsigned char cspac;  /* common send pacing count (TS)@0115 */
  29.      unsigned char prpac;  /* PLU receive pacing count (TS)@0115 */
  30.      unsigned char psprof; /* presentation service profile @0115 */
  31.          char     psparm[11];  /* PS characteristics            */
  32.         }old;
  33.               }bim;
  34.      unsigned char crypt;  /* cryptography options:         *@0115
  35.                                 * 0 - no cryptography           *
  36.                                 * support;                      *
  37.                                 * 0x10 - session-level          *
  38.                                 * cryptography support.         */
  39.      unsigned char plulen; /* length of plu name  @0115     */
  40.          char plunode[8];      /* plu node name                 1020 */
  41.          char plu[8];          /* plu name                      1020 */
  42.      unsigned char usrlen; /* user data length @0115        1003 */
  43.      char usrdata[8];      /* user data                     1003 */
  44.      unsigned char urclen; /* URC length   @0115            1003 */
  45.      unsigned long urc;    /* user request correlation (URC)1003 */
  46.      unsigned char slulen; /* length of slu name @0115      1003 */
  47.          char slunode[8];      /* slu node name                 1020 */
  48.      char slu[8];          /* slu name                      1020 */
  49.      unsigned char scrno;  /* screen number   @0115              */
  50.          };
  51.  
  52. #define BINDSIZE 0x64
  53.